<div id="adminPage">
   <h2>Find Users</h2>
   <img class="search" src="../images/users.png" alt="users"/><br/><br/>
   <form method = "get" action = "userresults.php">
   	<table>		
   		<tr class="field">
   			<td>User Name: </td>
   			<td><input type = "text" size = "15" name = "name"
   				{if $name}
   					value = "{$name}"
   				{/if}
   				/>
   			</td>
   			<td>
   				{if $errorname}
   					{$errorname}
   				{/if}
   			</td>
   		</tr>
   		<tr class="field">
   			<td>User Email: </td>
   			<td><input type = "text" size = "15" name = "email"
   				{if $email}
   						value = "{$email}"
   				{/if}
   			/></td>
   			<td>
   				{if $erroremail}
   					{$erroremail}
   				{/if}
   			</td>
   		</tr>
   		<tr class="field">
   			<td>Type: </td>
   			<td>
   				<select name="role">	
   					<option value = "<Any>">Any</option>
   					{if $fail}
   						<option>{$fail}</option>
   					{else}
   						{section name = i loop = $options}
   							<option value = "{$options[i]}">{$options[i]}</option>
   						{/section}
   					{/if}
   				</select>
   			</td>
   		</tr>	
   		<tr class="field">
   			<td></td>
   			<td><input type = "submit" size = "7" value = "Find" name = "submit"></input></td>
   		</tr>			
   	</table>
   </form>
</div>